package cn.kgc.javaweb.servlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author: mosin
 * @version: v1.0  2022/5/24
 */
@WebServlet("/teacher")
public class TeacherServlet  extends  BaseServlet{

    //添加教师信息
    protected void add(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        // TODO  添加教师信息的逻辑代码
        System.out.println("添加教师信息逻辑被调用");
    }
    //删除教师信息
    protected void delete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        // TODO  删除教师信息的逻辑代码
        System.out.println("删除教师信息逻辑被调用");
    }
    //更新教师信息
    protected void update(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        // TODO  修改教师信息的逻辑代码
        System.out.println("修改教师信息逻辑被调用");
    }
    //查询教师信息
    protected void select(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        // TODO  查询教师信息的逻辑代码
        System.out.println("查询教师信息逻辑被调用");
    }


}
